import random, pygame, sys
screen= pygame.display.set_mode([1000,1000])
x = random.randint(1,155)
y = random.randint(1,255)
z = random.randint(1,100)
screen.fill([x,y,z])

def project_seizures(r,g,b,x,y):
   l = random.randint(0,888-x)
   h = random.randint(0,888-y)
   pygame.draw.rect(screen, [r,g,b], [x,y,l,h], 1)
   pygame.display.flip()
def math(m,G,c):
   m = random.randint(1,100)
   G = random.randint(1,200)
   c = random.randint(1,300)
   print m*c
   print c*G
   print m-c
   print c-G  
   print m+c
   print c+G      
   print m/c
   print c/G   
runner = True
while runner:
   r = random.randint(0,255)
   g = random.randint(0,255)
   b = random.randint(0,255)
   x = random.randint(0,850)
   y = random.randint(0,850)
   m = random.randint(0,100)
   G = random.randint(0,200)
   c = random.randint(0,300)
   project_seizures(r,g,b,x,y)
   math(m,G,c)
   for event in pygame.event.get():
      if event.type == pygame.QUIT: 
         runner = False
         print 'I neeeeeed aaaaaaaaaaaaaaa neeeeeeeeeeeeew pow-er su-pl--ey! crash'
      else:
         runner = True
         mom = math(m,G,c)
         print mom
pygame.quit()
         
   